package dao;

import domain.SignIn;

import java.util.List;

public interface SignInDao {

    public boolean addOne(SignIn signIn) throws Exception;

    public void getSignInsByUserId(String userId) throws Exception;

    public static abstract class QuerySignInDaysCallBack{
        public abstract void onSuccess(int days);
        public void onFailed(Exception e){};
    }
}
